.layout {
  height: 100vh;
}
.layout .side-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.layout .side-content .side-bar {
  flex: 1;
  scrollbar-width: none;
  /* firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  overflow-x: hidden;
  overflow-y: auto;
}
.layout .side-content .side-bar::-webkit-scrollbar {
  display: none;
  /* Chrome Safari */
}
.layout .tags-nav {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  background-color: #f0f0f0;
  width: 100%;
  position: relative;
  height: 40px;
}
.layout .tags-nav .ivu-tag:hover {
  opacity: 0.8;
  cursor: pointer;
}
.layout .tags-nav .ivu-tag-dot,
.layout .tags-nav .ivu-tag-dot-inner {
  transition: all 0.5s;
}
.layout .tags-nav .close-con {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: #fff;
  text-align: center;
  z-index: 10;
}
.layout .tags-nav .contextmenu {
  z-index: 11;
  position: absolute;
  margin: 0;
  padding: 5px 0;
  background: #fff;
  z-index: 1000;
  list-style-type: none;
  border-radius: 4px;
  box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.layout .tags-nav .contextmenu li {
  margin: 0;
  padding: 5px 15px;
  cursor: pointer;
}
.layout .tags-nav .contextmenu li:hover {
  background: #eee;
}
.layout .tags-nav .btn-con {
  height: 100%;
  padding-top: 3px;
}
.layout .tags-nav .btn-con button {
  padding: 6px 4px;
  line-height: 14px;
  text-align: center;
}
.layout .tags-nav .right-btn,
.layout .tags-nav .left-btn {
  position: absolute;
  background-color: white;
  border-right: 1px solid #f0f0f0;
  z-index: 10;
}
.layout .tags-nav .right-btn {
  right: 32px;
}
.layout .tags-nav .scroll-outer {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  right: 60px;
  box-shadow: inset 0 0 3px 2px hsla(0, 0%, 39.2%, 0.1);
  overflow: hidden;
}
.layout .tags-nav .scroll-outer .scroll-body {
  transition: all 0.2s;
  position: absolute;
  align-items: center;
  padding: 1px 4px 0;
  left: 0;
  white-space: nowrap;
  overflow: visible;
}
.layout .tags-nav .scroll-outer .scroll-body div {
  display: inline-block;
  margin: 2px 4px 2px 0;
}
.layout > .ivu-layout {
  height: 100%;
}
.layout .header-bar {
  background-color: white;
  padding: 0 20px;
}
.layout .header-bar .full-screen-btn-con:hover {
  cursor: pointer;
}
.layout .header-bar .collapsed-icon:hover {
  color: #2D8CF0;
  cursor: pointer;
}
.layout .header-bar-row {
  padding-right: 20px;
}
.layout .header-bar-row-avatar:hover {
  cursor: pointer;
}
.layout .header-bar-row .icon {
  vertical-align: middle;
}
.layout .layout-header-bar {
  padding: 0;
}
.layout .main-content-con {
  flex: 1;
  display: flex;
}
.layout .main-content-con .main-layout-con {
  width: 100%;
}
.layout .main-content-con .main-layout-con .content-wrapper {
  width: 100%;
  overflow: auto;
  height: 0;
  padding: 20px;
}
.layout .logo-con {
  height: 64px;
  padding: 10px;
  overflow: hidden;
}
.layout .logo-con img {
  height: 44px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.layout .collapsed-menu {
  display: grid;
  overflow: hidden;
  justify-content: center;
}
.layout .collapsed-menu-item {
  height: 49px;
  display: flex;
  align-items: center;
}
.layout .collapsed-menu .collapsed-item .ivu-dropdown-item {
  white-space: nowrap;
}
.layout .collapsed-menu .collapsed-item .ivu-dropdown-menu {
  min-width: 120px;
}
.layout .collapsed-menu .collapsed-item .drop-menu-a {
  display: flex;
  align-items: center;
  padding: 8px 0 8px 16px;
}
.layout .collapsed-menu .collapsed-item .drop-menu-a .icon {
  margin-right: 3px;
}
.layout .collapsed-menu .menu-icon:hover {
  cursor: pointer;
}
.layout .collapsed-menu-row {
  background-color: red;
}
.layout .custom-enter-active {
  transform: translateX(-10px);
  opacity: 0;
}
.layout .custom-leave-active {
  transform: translateX(10px);
  opacity: 0;
}
